package com.ssm.xm.pojo;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class School {
    private int sid;
    private String sname;
    private int pid;

    public School() {
    }

    public School(int sid, String sname, int pid) {
        this.sid = sid;
        this.sname = sname;
        this.pid = pid;
    }
}